package pl.szpadel.android.gadu.packets;

import java.nio.BufferOverflowException;
import java.nio.ByteBuffer;

public class ZeroLenghtSendPacket extends SendPacket {

	public ZeroLenghtSendPacket(int type) {
		super(type);
	}

	@Override
	protected void writeToBuffer(ByteBuffer buffer)
			throws BufferOverflowException {
		// no content
	}
	
	@Override
	public String toString() {
		return "ZeroLenghtSendPacket [ type=0x" + Integer.toHexString(getType()) + " ]";
	}

}
